package com.dragon.sdgp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @AUTHOR : Dragon_Yang
 * @File : Lexicon
 * @DESCRIPTION :
 * @DATE : 2023/3/17 18:38
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("lexicon")
public class Lexicon extends BasicEntity{

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 描述
     */
    @TableField("info")
    private String info;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 是否共享
     */
    @TableField("is_share")
    private Integer isShare;

    @TableField("author")
    private String author;
}
